package com.lantian.yjmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lantian.common.utils.PageUtils;
import com.lantian.yjmall.ware.entity.PurchaseEntity;
import com.lantian.yjmall.ware.vo.MergeVo;
import com.lantian.yjmall.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author lyj
 * @email 945874570@qq.com
 * @date 2020-05-31 15:59:52
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);
    // 查询未领取的采购单
    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergeVo mergeVo);
    // 领取采购单
    void received(List<Long> ids);
    // 完成采购
    void done(PurchaseDoneVo doneVo);
}

